export const tableOption = {
  border: true,
  index: true,
  indexLabel: '序号',
  stripe: true,
  menuAlign: 'center',
  align: 'center',
  dialogWidth: '60%',
  searchMenuSpan: 6,
  labelWidth: 120,
  viewBtn: true,
  column: [
    {
      type: 'input',
      label: '整改单号',
      prop: 'rectifyNum',
      span: 8,
      search: true,
      searchLabelWidth: 80,
      searchLabelPosition: 'left',
      formslot: true,
      required: true,
      rules: [{ required: true, message: '请选择整改措单' }]
    },
    {
      type: 'input',
      label: '责任人id',
      prop: 'dutyUserid',
      searchLabelWidth: 135,
      formslot: true,
      slot: true,
      tip: '请选择负责人，可按名称搜索',
      hide: true,
      display: false,
      span: 8,
      required: true,
      rules: [{ required: true, message: '选择责任人' }]
    },
    {
      type: 'input',
      label: '责任人名称',
      prop: 'dutyUsername',
      searchLabelWidth: 135,
      formslot: true,
      slot: true,
      search: true,
      span: 8,
      required: true,
      rules: [{ required: true, message: '选择责任人' }]
    },
    {
      type: 'input',
      label: '责任部门名称',
      searchLabelWidth: 135,
      search: true,
      prop: 'dutyName',
      span: 8
    },
    {
      type: 'input',
      label: '责任部门全名称',
      prop: 'dutyFullname',
      span: 12,
      display: false
    }
  ]
}
